package com.jumi.microservice.stock.dto;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName StockLogResponse
 * @Description 库存日志返回
 * @Author Abel Yang
 * @Date 2020/8/24/024 11:41
 **/
public class StockLogResponse implements Serializable {

    private static final long serialVersionUID = -4396716632892587219L;

    @ApiModelProperty(value = "库存日志id")
    private Long id;
    @ApiModelProperty(value = "物料id")
    private Long materialId;
    @ApiModelProperty(value = "物料编码")
    private String materialCode;
    @ApiModelProperty(value = "属性名称")
    private String specName;
    @ApiModelProperty(value = "商品id")
    private Long goodsId;
    @ApiModelProperty(value = "商品编码")
    private String goodsCode;
    @ApiModelProperty(value = "商品名称")
    private String goodsName;
    @ApiModelProperty(value = "仓库id")
    private Long warehouseId;
    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;
    @ApiModelProperty(value = "单位id")
    private Integer unitId;
    @ApiModelProperty(value = "单位名称")
    private String unit;
    @ApiModelProperty(value = "变动类型")
    private Integer changeType;
    @ApiModelProperty(value = "原始数量")
    private Integer originNum;
    @ApiModelProperty(value = "改变数量")
    private int changeNum;
    @ApiModelProperty(value = "变动数量类型")
    private Byte changeQuantityType;
    @ApiModelProperty(value = "日志类型")
    private Byte logTypes;
    @ApiModelProperty(value = "变动批次")
    private String changeBatchNo;
    @ApiModelProperty(value = "变动原因")
    private String changeReason;
    @ApiModelProperty(value = "备注")
    private String backup;
    private String createBy;
    private Date createTime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getChangeType() {
        return changeType;
    }

    public void setChangeType(Integer changeType) {
        this.changeType = changeType;
    }

    public Integer getOriginNum() {
        return originNum;
    }

    public void setOriginNum(Integer originNum) {
        this.originNum = originNum;
    }

    public int getChangeNum() {
        return changeNum;
    }

    public void setChangeNum(int changeNum) {
        this.changeNum = changeNum;
    }

    public Byte getChangeQuantityType() {
        return changeQuantityType;
    }

    public void setChangeQuantityType(Byte changeQuantityType) {
        this.changeQuantityType = changeQuantityType;
    }

    public Byte getLogTypes() {
        return logTypes;
    }

    public void setLogTypes(Byte logTypes) {
        this.logTypes = logTypes;
    }

    public String getChangeBatchNo() {
        return changeBatchNo;
    }

    public void setChangeBatchNo(String changeBatchNo) {
        this.changeBatchNo = changeBatchNo;
    }

    public String getChangeReason() {
        return changeReason;
    }

    public void setChangeReason(String changeReason) {
        this.changeReason = changeReason;
    }

    public String getBackup() {
        return backup;
    }

    public void setBackup(String backup) {
        this.backup = backup;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
